package com.at7122.security_demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class User {
    @TableId(value = "id",type= IdType.AUTO) //主键自增0
    private Integer id;
    private String username;
    private String password;
    private Boolean enabled;
}
